package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * 用户审核结果
 */
@Data
@NoArgsConstructor
@TableName("user_result")
public class UserResultBean {
      @TableId(value = "id",type = IdType.AUTO)
      private Long id;
      @TableField("userNum")
      private Long userNum;
      @TableField("result")
      private int result;//0---审核通过 1 ----审核不通过
      @TableField("reason")
      private String reason;//原因
      @TableField("date")
      private LocalDate date=LocalDate.now();
      
      public UserResultBean(Long userNum, int result, String reason) {
            this.userNum = userNum;
            this.result = result;
            this.reason = reason;
      }
}
